﻿using MediatR;
using SmartCity.Passport.API.DTO;
using SmartCity.Passport.ErrorCode;

namespace SmartCity.Passport.API.Application.Commands
{
    /// <summary>
    /// 登录查询命令
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<UserDto>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
       
    }
}
